Updating outside of SNiFF+

In this section, you will learn how to update your working environments outside of an active SNiFF+ session on both Unix and Windows using an update and build script (

updateWS.sh ) provided with your SNiFF+ installation. This script starts SNiFF+ in batch mode (driven via sniffaccess ) and calls other tools like Make.
The update and build script is located in your $SNIFF_DIR/ws_support directory. Note that it can also be used for unattended updates of your working environments.

- On Unix, you can perform external updates from any Shell.
- On Windows, you can perform unattended updates from the Command Prompt.

Update procedures
Working environments are to be updated in the following order:

- SSWEs
- SOWEs
- PWEs

Your Working Environment Administrator should be responsible for updating the shared working environments. PWEs may be updated either by the Working Environment Administrator, or by their respective owners.
After an update is over, SNiFF+ creates a log file with a summary report in the updated working environment's root directory. This summary report will also be automatically sent to you by email.

| On Windows
| To automatically receive summary reports, a mail program with a command-line interface is necessary. An example of such a tool is Postmail, a shareware program available in the public domain.

.

How to

Change to the Working Environment root directory you want to update.
Call the script (all in one line)

- On Unix:

sh $SNIFF_DIR/ws_support/updateWS.sh <WorkingEnvironmentName> <project> [SSWE | SOWE | PWE]
- In the Windows Command Prompt
sh %SNIFF_DIR%\ws_support\updateWS.sh <WorkingEnvironmentName> <project> [SSWE | SOWE | PWE]